<ion-view view-title="个人资料" class="personaldata">
	<ion-nav-bar ng-class="baseclass">
		<ion-nav-back-button>
		</ion-nav-back-button>

		<ion-nav-buttons side="right">
			<button class="button button-clear icon ion-save" on-tap="do_save()" ng-if='isLoad'>保存</button>
		</ion-nav-buttons>
	</ion-nav-bar>

	<!--描述：滑动块-->
	<ion-content>
		<div class="head list-inset">
			<div class="row padding-0">
				<div class="col col-66 padding-0"><img src="./img/icon-user.png" />{{showname}}</div>
				<div class="col col-33 padding-0"><img src="./img/icon-role.png" />{{role_text}}</div>
			</div>
			<div class="row padding-0">
				<div class="col col-33 padding-0"><img src="./img/icon-rz_mobile.png" />手机认证</div>
				<div ng-if='data.verify_email == "Y"' class="col col-33 padding-0"><img src="./img/icon-rz_mail.png" />邮箱认证</div>
				<div class="col col-33 padding-0"><img src="./img/icon-lvl.png" />{{data.member_lv_name}}</div>
			</div>
		</div>

		<div class="list list-inset">
			<div class="item item-divider">个人信息</div>
			<label class="item item-input">
				<span class="input-label">账号</span>{{account}}
			</label>
			<label class="item item-input">
				<span class="input-label">头像</span>
				<img ng-src='{{data.avatar || "./img/user-pic-0.png"}}' style='width: 60px; height: 60px;background: #EEE;' on-tap='select_img()'/>
			</label>
			<label class="item item-input">
				<span class="input-label">用户名</span><input type="text" placeholder="请输入用户名" maxlength="50" ng-model='data.nickname'>
			</label>
			<label class="item item-input">
				<span class="input-label">邮箱</span><input type="email" placeholder="请输入你的邮箱" maxlength="200" ng-model='data.email'>
			</label>
		</div>
	</ion-content>
</ion-view>